#-------------------------------------------------
#
# Project created by QtCreator 2012-05-18T17:10:05
#
#-------------------------------------------------

QT       -= gui

TARGET = GPSReader
TEMPLATE = lib

DEFINES += GPSREADER_LIBRARY

SOURCES += \
    gpsdata.cpp \
    gpshandler.cpp

HEADERS +=\
    gpsdata.h \
    gpshandler.h

LIBS += -L$$OUT_PWD/../CommunicationHandler/ -lCommunicationHandler

INCLUDEPATH += $$PWD/../CommunicationHandler
DEPENDPATH += $$PWD/../CommunicationHandler

linux-arm-gnueabi-g++{
    LIBS += -L$$PWD/../../libARM/qextserialport/ -lqextserialport-1.2
}else{
    HARDWARE_PLATFORM = $$system(uname -m)
    message(Platform: $$HARDWARE_PLATFORM)
    contains( HARDWARE_PLATFORM, x86_64 ) {
        LIBS += -L$$PWD/../../lib/qextserialport/ -lqextserialport-1.2
    } else  {
        LIBS += -L$$PWD/../../lib32/qextserialport/ -lqextserialport-1.2
    }
}

INCLUDEPATH += $$PWD/../../include/qextserialport
DEPENDPATH += $$PWD/../../include/qextserialport
